<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header"></head>

<body>
<nav th:replace="layouts::navbar"></nav>

<div class="container">
    <form th:action="@{/productions/save}" th:object="${production}" method="POST">



        <input type="text" placeholder="音乐" th:field="*{music}">
        <input type="text" placeholder="影视剧" th:field="*{play}">
        <input type="text" placeholder="话剧" th:field="*{drama}">
        <select th:field="*{idols}" multiple="multiple">
            <option th:each="idol:${allIdols}" th:value="${idol.idolId}" th:text="${idol.name}"></option>

        </select>

        <button class="ui teal button m-mobile-wide" type="submit">新增作品</button>

    </form>
</div>
</body>
</html>